#version 120

attribute vec2 Position;
attribute vec3 Normal;
attribute vec2 TexCoord0;
attribute vec4 Color;

varying vec2 VertTexcoord;
varying vec4 VertColor;

uniform mat4 uMatrix;

void main()
{
	gl_Position = uMatrix * vec4(Position, 0.0, 1.0);
	gl_TexCoord[0].xy = TexCoord0;
	
	VertTexcoord = TexCoord0;
	VertColor = Color;
}